package org.breathe.dynamic.thread.pool.core.event;

import org.breathe.thread.pool.common.entity.BreatheDtpProperties;
import org.springframework.context.ApplicationEvent;

/**
 * 刷新事件
 * @author: breathe
 * @createTime: 2025-04-13
 */
public class RefreshEvent extends ApplicationEvent {

    private final BreatheDtpProperties breatheDtpProperties;

    public RefreshEvent(Object source, BreatheDtpProperties breatheDtpProperties) {
        super(source);
        this.breatheDtpProperties = breatheDtpProperties;
    }

    public BreatheDtpProperties getBreatheDtpProperties() {
        return breatheDtpProperties;
    }
}
